<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class UserAction extends Model
{
    //
    protected $table = 'user_action';
    public function user() {
        return $this->belongsTo('App\Model\User');
    }
    public function member() {
        return $this->hasOne('App\Model\BusinessMember','user_id','user_id');
    }
}
